import request from '@/utils/request'
import {content} from "./base";

export function getPage(params) {
  return request({
    url: content + 'subjectCate/getPage',
    method: 'post',
    data: params
  })
}

export function getListAll() {
  return request({
    url: content + '/subjectCate/listAll',
    method: 'get'
  })
}

export function deleteSubjectCate(params) {
  return request({
    url: content + '/subjectCate/delete',
    method: 'post',
    data: params
  })
}

export function updateShowStatus(params) {
  return request({
    url: content + '/subjectCate/updateShowStatus',
    method: 'post',
    data: params
  })
}

export function updateNavStatus(params) {
  return request({
    url: content + '/subjectCate/updateShowStatus',
    method: 'post',
    data: params
  })
}
